import request from '../utils/request'

const requestUrl = ""

export function fecthList(params){
   return request({
        url: requestUrl+'',
        method: 'post',
        params: params
})
}
export function getById(id){
    return request({
         url: requestUrl+'/',
         method: 'get',
         params: { id }
    })
 }
export function add(data){
    return request({
         url: requestUrl+'',
         method: 'post',
         data
    })
 }
 export function update(data){
    return request({
         url: requestUrl+'/',
         method: 'post',
         data
    })
 }
 export function deleteOne(data){
    return request({
         url: requestUrl+'/',
         method: 'post',
         data
    })
 }
 export function deleteByIds(data){
    return request({
         url: requestUrl+'/',
         method: 'post',
         data
    })
 }
